﻿
using ARCHFORME.Core.Persistance;



using Sample.Domain;

namespace Sample.Core.Persistance
{
    //internal class SampleUnitOfWork : UnitOfWork
    //{
    //    public SampleUnitOfWork(IDataMapper mapper) : base(mapper)
    //    {
    //    }

    //    public Repository<Order> Orders
    //    {
    //        get { return Mapper.GetRepository<Order>(); }
    //    }
    //}

    //public class SampleUnitOfWorkFactory : NHibernateUnitOfWorkFactory<SampleUnitOfWork>
    //{
    //    public SampleUnitOfWorkFactory(ILifetimeScope lifetimeScope)
    //        : base(lifetimeScope)
    //    {
    //    }

    //    protected override SampleUnitOfWork CreateUnitOfWork(IDataMapper mapper)
    //    {
    //        return new SampleUnitOfWork(mapper);
    //    }
    //}
}